package com.woniu.hospital.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 住院信息表对象 hosptilnews
 * 
 * @author wolf-six
 * @date 2023-02-15
 */
public class Hosptilnews extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long hosptilId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String hosptilIdcard;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String hosptilPatientadd;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String contactPerson1;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String contactPerson2;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String hosptilStatus;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date hosptilIntime;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date hosptilOuttime;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long patientId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long docterId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long docter2Id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long bedId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long deptId;

    public void setHosptilId(Long hosptilId) 
    {
        this.hosptilId = hosptilId;
    }

    public Long getHosptilId() 
    {
        return hosptilId;
    }
    public void setHosptilIdcard(String hosptilIdcard) 
    {
        this.hosptilIdcard = hosptilIdcard;
    }

    public String getHosptilIdcard() 
    {
        return hosptilIdcard;
    }
    public void setHosptilPatientadd(String hosptilPatientadd) 
    {
        this.hosptilPatientadd = hosptilPatientadd;
    }

    public String getHosptilPatientadd() 
    {
        return hosptilPatientadd;
    }
    public void setContactPerson1(String contactPerson1) 
    {
        this.contactPerson1 = contactPerson1;
    }

    public String getContactPerson1() 
    {
        return contactPerson1;
    }
    public void setContactPerson2(String contactPerson2) 
    {
        this.contactPerson2 = contactPerson2;
    }

    public String getContactPerson2() 
    {
        return contactPerson2;
    }
    public void setHosptilStatus(String hosptilStatus) 
    {
        this.hosptilStatus = hosptilStatus;
    }

    public String getHosptilStatus() 
    {
        return hosptilStatus;
    }
    public void setHosptilIntime(Date hosptilIntime) 
    {
        this.hosptilIntime = hosptilIntime;
    }

    public Date getHosptilIntime() 
    {
        return hosptilIntime;
    }
    public void setHosptilOuttime(Date hosptilOuttime) 
    {
        this.hosptilOuttime = hosptilOuttime;
    }

    public Date getHosptilOuttime() 
    {
        return hosptilOuttime;
    }
    public void setPatientId(Long patientId) 
    {
        this.patientId = patientId;
    }

    public Long getPatientId() 
    {
        return patientId;
    }
    public void setDocterId(Long docterId) 
    {
        this.docterId = docterId;
    }

    public Long getDocterId() 
    {
        return docterId;
    }
    public void setDocter2Id(Long docter2Id) 
    {
        this.docter2Id = docter2Id;
    }

    public Long getDocter2Id() 
    {
        return docter2Id;
    }
    public void setBedId(Long bedId) 
    {
        this.bedId = bedId;
    }

    public Long getBedId() 
    {
        return bedId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("hosptilId", getHosptilId())
            .append("hosptilIdcard", getHosptilIdcard())
            .append("hosptilPatientadd", getHosptilPatientadd())
            .append("contactPerson1", getContactPerson1())
            .append("contactPerson2", getContactPerson2())
            .append("hosptilStatus", getHosptilStatus())
            .append("hosptilIntime", getHosptilIntime())
            .append("hosptilOuttime", getHosptilOuttime())
            .append("patientId", getPatientId())
            .append("docterId", getDocterId())
            .append("docter2Id", getDocter2Id())
            .append("bedId", getBedId())
            .append("deptId", getDeptId())
            .toString();
    }
}
